import $http from './request.js'

export const questionsList = ({pageSize,pageNum})=>{
	return $http.request({
		url:'/wechat/questions/typeList',
		method:"POST",
		header:{
			"Content-Type":'application/json',
		},
		data:{
			pageSize,
			pageNum
		}
	})
}

export const questionsTotal = ({typeId})=>{
	return $http.request({
		url:'/wechat/questions/selQuestionNum/'+typeId,
		method:"GET",
		header:{
			"Content-Type":'application/json',
		},
		data:{
			typeId
		}
	})
}